home *** CD-ROM | disk | FTP | other *** search
- /* STEERPIKE'S HELMET OBJECT THINGY
- IF YOU HAVE NO IMAGINATION AT ALL THEN BY ALL MEANS JUST USE THIS
- IN YOUR SCENES. OTHERWISE GO AND DO YOUR OWN, SINCE I DON'T
- THINK MUCH OF THIS LITTLE NUMBER, PERSONALLY.
- CONTACT ME AT ZCTYJHP@TS.BCC.AC.UK... IF YOU LIKE
- */
- // Oh, and don't worry about not having camlight.inc, just shove a cammera
- //at 0,0,0 and a cople of lights in
- #include "colors.inc"
- #include "textures.inc"
- #include "shapes.inc"
- #include "camlight.inc"
- object {BrightLight1 scale <1, 1, 1> translate <-10, 10, -10>}
- object {BrightLight1 scale <1, 1, 1> translate <-10, -10, -10>}
-
-
- camera {Camera1 translate <0, 0, -4>}
-
- #declare Hel=object{
- difference{
- sphere{<0,0,0>1}
- sphere{<0,0,0>.8} //plane{y,0}
- }
- }
- #declare Helm=object{
- difference{
- object{Hel}
- plane{y,0} //object{Hel scale <.8,.8,.8>}
- }
- // texture{Rust scale<.4,.4,.4>}
- bounded_by{sphere{<0,0,0>1.1}}
- }
- #declare Stripx=object{
- difference{
- object{Helm}
- plane{y,0 rotate x*-90 translate z*.15}
- plane{y,0 rotate x*90 translate z*-.15}
- }
- texture{pigment{color rgb<.5,.4,.55>}
- finish{specular .6 diffuse .4 reflection .7}
- }
- }
- #declare Stripy=object{Stripx rotate y*90}
-
- #declare CheekGuardl=object{
- cone{<0,0,0> .8 <.2,-1.1,.-.3> .3
- scale<.2,1,1>
- translate<-.7,.2,.1>
- }
- texture{Rust}
- // bounded_by{
- // cone{<0,0,0> .4 <.1,-.6,.-.2> .1 scale<.11,1.1,1.1> translate<-.5,.2,-.1>}
- // }
- }
- #declare CheekGuardr=object{
- object{CheekGuardl}
- scale <-1,1,1>
- }
- #declare Helmet=object{
- union{
- object{Helm texture{Rust scale<.14,.14,.14>}}
- object{Stripy scale<1,1.5,1> translate y*.08}
- object{Stripx translate y*.2}
- object{CheekGuardl}
- object{CheekGuardr}
- }
- }
- object{Helmet rotate x*0}
- //object{CheekGuardl}
- //object{CheekGuardr}
-